package com.example.h5shell;

import android.service.notification.NotificationListenerService;
import android.service.notification.StatusBarNotification;

/**
 * desc: 实现窗口通知和移除
 */

public class NotificationService extends NotificationListenerService {

    @Override
    public void onNotificationPosted(StatusBarNotification sbn) {
        // 处理新发布的通知
    }

    @Override
    public void onNotificationRemoved(StatusBarNotification sbn) {
        // 处理已移除的通知
    }
}